package com.mh.dao;

import java.util.Date;
import java.util.List;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;
import org.springframework.dao.DataAccessException;

import com.mh.domain.Invoice;
import com.mh.domain.Item;

/**
 * DAO to manage Item entities.
 * 
 */
public interface ItemDAO extends JpaDao<Item> {

	/**
	 * JPQL Query - findItemByQuantity
	 *
	 */
	public Set<Item> findItemByQuantity(Integer quantity1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByQuantity
	 *
	 */
	public Set<Item> findItemByQuantity(Integer quantity1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCost
	 *
	 */
	public Set<Item> findItemByCost(java.lang.Double cost1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCost
	 *
	 */
	public Set<Item> findItemByCost(Double cost1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCreatedBy
	 *
	 */
	public Set<Item> findItemByCreatedBy(String createdBy1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCreatedBy
	 *
	 */
	public Set<Item> findItemByCreatedBy(String createdBy1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCreatedOn
	 *
	 */
	public Set<Item> findItemByCreatedOn(java.util.Date createdOn1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCreatedOn
	 *
	 */
	public Set<Item> findItemByCreatedOn(Date createdOn1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByModifiedOn
	 *
	 */
	public Set<Item> findItemByModifiedOn(java.util.Date modifiedOn1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByModifiedOn
	 *
	 */
	public Set<Item> findItemByModifiedOn(Date modifiedOn1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByModifiedByContaining
	 *
	 */
	public Set<Item> findItemByModifiedByContaining(String modifiedBy1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByModifiedByContaining
	 *
	 */
	public Set<Item> findItemByModifiedByContaining(String modifiedBy1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByModifiedBy
	 *
	 */
	public Set<Item> findItemByModifiedBy(String modifiedBy1_1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByModifiedBy
	 *
	 */
	public Set<Item> findItemByModifiedBy(String modifiedBy1_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllItems
	 *
	 */
	public Set<Item> findAllItems() throws DataAccessException;

	/**
	 * JPQL Query - findAllItems
	 *
	 */
	public Set<Item> findAllItems(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemById
	 *
	 */
	public Item findItemById(Integer id1) throws DataAccessException;

	/**
	 * JPQL Query - findItemById
	 *
	 */
	public Item findItemById(Integer id1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByPrimaryKey
	 *
	 */
	public Item findItemByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findItemByPrimaryKey
	 *
	 */
	public Item findItemByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCreatedByContaining
	 *
	 */
	public Set<Item> findItemByCreatedByContaining(String createdBy1_1) throws DataAccessException;

	/**
	 * JPQL Query - findItemByCreatedByContaining
	 *
	 */
	public Set<Item> findItemByCreatedByContaining(String createdBy1_1, int startResult, int maxRows) throws DataAccessException;

	
	
	
}